//  登录API
import  request from "../utils/request.js"

// 登录
export const login = (params = {}) => {
    return request.post('/login', params)
}

// 获取用户角色ID
export const getRoleId = (params = {}) => {
    return request.get('/login/get-role-id',{ params })
}

// 获取用户账号
export const getAccount = (params = {}) => {
    return request.get('/login/get-account',{ params })
}